<?php

namespace app\common\model;

class News extends BaseModel
{
    public function getImageAttr($value)
    {
        if ($value) {
            $value = env('UPLOAD_URL') . $value;
        }
        return $value;
    }
}
